/**
 * 
 */
package com.workable.assignment.domain.rottentomatoes;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.workable.assignment.utilities.StringUtil;

/**
 * @author npapadopoulos
 * 
 */
public class RTMovieSearchResult extends RTStatus implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -1934996056360624456L;

    private int total;

    private List<RTMovie> movies;

    private Map<String, String> links;

    @JsonProperty(value = "link_template")
    private String linkTemplate;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RTMovie> getMovies() {
        return movies;
    }

    public void setMovies(List<RTMovie> movies) {
        this.movies = movies;
    }

    public Map<String, String> getLinks() {
        return links;
    }

    public void setLinks(Map<String, String> links) {
        this.links = links;
    }

    public String getLinkTemplate() {
        return linkTemplate;
    }

    public void setLinkTemplate(String linkTemplate) {
        this.linkTemplate = linkTemplate;
    }

    @Override
    public String toString() {
        return StringUtil.toString(this);
    }
}